const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  phone: state => state.user.phone,
  email: state => state.user.email,
  birthday: state => state.user.birthday,
  type: state => state.user.type,
  deptId: state => state.user.deptId,
  sex: state => state.user.sex,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  introduction: state => state.user.introduction
}
export default getters
